﻿using System;

namespace Core.Framework
{
    [Serializable]
    public class DoWorkResponse : SocketResponse
    {
        /// <summary>
        /// 任务唯一Token
        /// </summary>
        public string Token { get; set; }

        /// <summary>
        /// WS重连Token
        /// </summary>
        public string WSToken { get; set; }

        /// <summary>
        /// 是否退出登录
        /// </summary>
        public bool IsOutLogin { get; set; }

        /// <summary>
        /// 事件
        /// </summary>
        public string Command { get; set; }

        /// <summary>
        /// 重试次数
        /// </summary>
        public int RetryCount { get; set; }

        /// <summary>
        /// 建议延时重试时间
        /// </summary>
        public int RetryDelayedOfSecond { get; set; }
    }
}
